<?php
/**
 * Created by PhpStorm.
 * User: teddy
 * Date: 6/30/16
 * Time: 10:52 AM
 */
?>

<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="21 cake Api test">
    <meta name="author" content="Teddy Long">
    <!--ICON-->
    <link rel="icon" href="favicon.ico" type="image/x-icon" />
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
    <!--Title-->
    <title>21 Cake API Test Portal - AppUI Case List</title>
    <!--BootStrap Component-->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/bootstrap-theme.min.css" rel="stylesheet">
    <link href="css/bootstrap-table.min.css" rel="stylesheet" >
    <link href="css/font-awesome.css" rel="stylesheet">
    <link href="css/ionicons.css" rel="stylesheet">
    <link href="css/theme.css" rel="stylesheet" >
    <link href="css/ImagePreview.css" rel="stylesheet">
</head>

<body role="document">
<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container">
        <div class="navbar-header">
            <a class="navbar-brand" href="index.php">21 Cake</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
                <li><a href="index.php">Home</a></li>
                <li><a href="Manage.php">Manage Page</a></li>
            </ul>
        </div>
    </div>
</nav>
<div class="container" role="main">
    <!--Case Label-->
    <div>
        <div class="info-box">
            <span class="info-box-icon"><span style="margin-top:11px;" class="ion ion-ios-pricetag-outline"></span></span>
            <div class="info-box-content">
                <span class="info-box-text">JobID:<span id="JobIDLabel"></span></span>
            </div>
        </div>
    </div>
    <!--Case List-->
    <div class="row">
        <div class="col-sm-12">
            <table id="CaseTable" style="white-space: pre;"
                   data-sort-name="id"
                   data-sort-order="desc"
                   data-search="true"
                   data-show-columns="true"
                   data-pagination="true"
                   data-row-style="rowStyle">
                <thead>
                <tr>
                    <th data-sortable="true" data-halign="center" data-align="center" data-field = "id">CaseID</th>
                    <th data-halign="center" data-align="center" data-field= "name">Name</th>
                    <th data-sortable="true" data-halign="center" data-align="center" data-field= "result">Status</th>
                    <th data-sortable="true" data-halign="center" data-align="center" data-field= "date">Start Time</th>
                    <th data-formatter="snapshotFormat" data-halign="center" data-align="center" data-field= "snapshot">SnapShot</th>
                    <th data-sortable="true" data-halign="center" data-align="center" data-field= "resultString">Remark</th>
                </tr>
                </thead>
            </table>
        </div>

        <!--Case Success Rate-->
        <div class="col-sm-12">
            <br/>
            <div id="columnChart" style="width: 90%; height: 800px"></div>
        </div>
    </div>
</div>
<!--JS LOAD-->
<script src="js/jquery.min.js"></script>
<script data-pace-options='{ "document": true }' src="js/pace.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/bootstrap-table.min.js"></script>
<script src="js/highcharts.js"></script>
<script src="js/data.js"></script>
<script src="js/ImagePreview.js"></script>
<script src="js/AppUICase.js"></script>
</body>
</html>
